<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE>
<html>
<head>
  <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/layout.css" />
  <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/module_public.css" />
  <script type="text/javascript" src="__PUBLIC__/Js/jquery.js"></script>
  <script type="text/javascript" src="__PUBLIC__/Js/fileCabinet.js"></script>
</head>
<body>
  <div class="module_public">
     <div class="module_public_content">
        <h1> >> 查看文件柜 </font>&nbsp;<font color=red><a href="__URL__/fileCabinet">【查看文件柜】</a></font><font color=red><a href="__URL__/add_fileCabinet">【放入文件柜】</a></font><a href="__ACTION__">【刷新】</a></font></h1>
     </div>
    <div class="module_public_main">
       <table>
          <tr>
            <td align="center">编号</td>
            <td align="center">文件名称</td>
            <td align="center">上传时间</td>
            <td align="center">文件大小</td>
            <td align="center">文件类型</td>
            <td align="center">操作</td>
          </tr>
          <?php if(is_array($f_info)): $k = 0; $__LIST__ = $f_info;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($k % 2 );++$k;?><tr>
            <td align="center"><?php echo ($k); ?></td>
            <td align="center"><?php echo ($v["f_newname"]); ?></td>
            <td align="center"><?php echo (date("Y-m-d",$v["f_addtime"])); ?></td>
            <td align="center"><?php echo ($v['f_size']); ?>&nbsp;<font color=red>KB</font></td>
            <td align="center"><?php echo ($v["f_type"]); ?></td>
            <td align="center">
               <a href="<?php echo ($v["f_path"]); echo ($v["f_filename"]); ?>">查看/下载文件</a> | 
               <a href="__URL__/del_file/f_id/<?php echo ($v["f_id"]); ?>/f_size/<?php echo ($v["f_size"]); ?>/f_filename/<?php echo ($v["f_filename"]); ?>/">删除文件</a>
            </td>
          </tr><?php endforeach; endif; else: echo "" ;endif; ?>
          <tr>
            <td align="right" colspan="6"><?php echo ($fpage); ?></td>
          </tr>
       </table> 
    </div>
  </div>
</body>
</html>